package com.jsmile.cloud.promotioncenter.api.enums;

public enum PromotionCodeEnum {

    ACTIVITY_NOT_EXISTS(150001, "活动不存在!"), ACTIVITY_NOT_START(150002, "活动未开始!"), ACTIVITY_END(150003, "活动已结束!"),;

    /**
     * 错误信息
     */
    private String resMsg;
    /**
     * 错误码
     */
    private Integer resCode;

    PromotionCodeEnum(int resCode, String resMsg) {
        this.resCode = resCode;
        this.resMsg = resMsg;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public Integer getResCode() {
        return resCode;
    }

    public void setResCode(Integer resCode) {
        this.resCode = resCode;
    }
}
